package cn.bd13.swagger.dao;

import cn.bd13.swagger.entity.Admin;
import cn.bd13.swagger.entity.Menu;
import cn.bd13.swagger.entity.MenuVo;
import cn.bd13.swagger.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName：AdminDao
 * Package:cn.bd13.swagger.dao
 * Description:
 *
 * @Date:2020/5/18 15:42
 * @Author:zhangqiang@kgc.cn
 */

public interface AdminDao {
    Admin getAdminPhone(String adminPhone);

    List<Admin> getAllAdmin();

    List<MenuVo> getFirstLevelMenus(@Param("adminType")int adminType);

    List<Menu> getSecondLevelMenus(@Param("adminType")int adminType,@Param("subid")int subid);
}
